Skip to content

Fix sidebar v2 thread control overlap - #4553

Open
AadiJo wants to merge 5 commits into
pingdotgg:mainfrom
AadiJo:sidebar-settle-snooze-fade
Open

Fix sidebar v2 thread control overlap#4553
AadiJo wants to merge 5 commits into
pingdotgg:mainfrom
AadiJo:sidebar-settle-snooze-fade

Conversation

@AadiJo

@AadiJo AadiJo commented Jul 26, 2026

Copy link
Copy Markdown

What Changed

Updated the sidebar v2 thread lifecycle controls so the Snooze and Settle actions render
over an opaque, row-matched surface with a subtle left-edge fade and shadow.

This prevents long project names from remaining visible underneath the controls when a
thread row is hovered or keyboard-focused.

Why

Long project names could overlap the Snooze and Settle controls, making both the project
name and actions difficult to read.

The existing dark-mode row colors are translucent, so simply reusing those colors did not
fully obscure the text beneath the controls. This change composites the dark row color
against the sidebar background to produce the same appearance with full opacity.

UI Changes

Before

The project name remains visible underneath the lifecycle controls.

sidebar-controls-before

After

The project name fades beneath an opaque surface before reaching the Snooze and Settle
controls.

sidebar-controls-after

Validation

  • Ran the web package TypeScript check
  • Ran targeted formatting and lint checks for SidebarV2.tsx
  • Verified the behavior with a synthetic long project name in an isolated web environment
  • Confirmed the control surface is fully opaque in dark mode
  • Confirmed there were no browser console warnings or errors

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for the UI change
  • A video is not applicable; this is a static hover/focus treatment

Note

Low Risk
Scoped CSS and visibility tweaks in SidebarV2.tsx only; no logic, API, or data changes.

Overview
Fixes Snooze/Settle overlapping long project names on sidebar v2 card thread rows.

The status/time label now fades on group-focus-within as well as hover, so keyboard focus matches pointer hover. The Snooze/Settle control strip gets layering (z-10, isolate), a left gradient fade and shadow, and shows on group-focus-within in addition to hover.

Control backgrounds are row-state aware (active, selected, default hover) and use color-mix in dark mode so the strip is fully opaque while still matching the translucent row tints—so project title text no longer shows through under the buttons.

Reviewed by Cursor Bugbot for commit c68e294. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix action button and timestamp overlap in SidebarV2 rows

  • The timestamp/status label in SidebarV2Row now hides when the row or any descendant has focus (group-focus-within/v2-row:opacity-0), matching the existing hover behavior.
  • The action buttons container gains visibility on group focus-within and renders contextual background colors (active/selected/default) with light/dark variants, a shadow, and a gradient edge to prevent overlap with text.
  • Buttons are elevated above the gradient via z-index to ensure they remain interactive.

Macroscope summarized c68e294.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 06784e4d-5c4c-49dc-b5be-ce814ffe3f69

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Jul 26, 2026
@AadiJo AadiJo changed the title Improve sidebar v2 thread control overlap Fix sidebar v2 thread control overlap Jul 26, 2026
Comment thread apps/web/src/components/SidebarV2.tsx Outdated
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 26, 2026
@macroscopeapp

macroscopeapp Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

This PR contains only CSS/Tailwind class changes to fix a visual overlap issue and improve keyboard focus accessibility in the sidebar. No logic or runtime behavior changes - purely styling adjustments.

You can customize Macroscope's approvability policy. Learn more.

@macroscopeapp
macroscopeapp Bot dismissed their stale review July 26, 2026 04:39

Dismissing prior approval to re-evaluate 0d0996c

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jul 26, 2026
Comment thread apps/web/src/components/SidebarV2.tsx Outdated
@macroscopeapp
macroscopeapp Bot dismissed their stale review July 27, 2026 23:59

Dismissing prior approval to re-evaluate c8d8b00

Comment thread apps/web/src/components/SidebarV2.tsx Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c8d8b00. Configure here.

Comment thread apps/web/src/components/SidebarV2.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant